<template>
    <div>
        <h3>技能树</h3>
        <el-tabs v-model="activeName" type="border-card" @tab-click="handleClick" >
            <el-tab-pane label="Python学习" name="first">
                <article-item></article-item>
            </el-tab-pane>
            <el-tab-pane label="Java学习" name="second">配置管理</el-tab-pane>
            <el-tab-pane label="数据库学习" name="third">角色管理</el-tab-pane>
            <el-tab-pane label="前端学习" name="fourth">定时任务补偿</el-tab-pane>
        </el-tabs>

    </div>
</template>

<script>
import ArticleItem from '@/components/ArticleItem.vue'
export default {
    components:{
        ArticleItem
    },
    data(){
        return{
            activeName: 'first'
        }
    },
    methods:{
        handleClick(tab, event) {
            console.log(tab, event);
        }
    },
}
</script>

<style lang="less" scoped>
.sort{
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-top: 20px;
    .more{
        float: right;
    }
}
</style>